package com.lantosec.hmrp.modules.workflow.vo;

import com.lantosec.hmrp.modules.system.vo.UserQueryVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "任务转发设置对象", description = "任务转发设置对象")
public class TaskRelayVO {

    @ApiModelProperty(value = "是否转发（0 否，1 是）")
    private Integer isRelay;

    /*@ApiModelProperty(value = "转发类型（AUTO 自动， MANUAL 人工）")
    private String type;*/
    @ApiModelProperty(value = "是否手工转发（0 否，1 是）")
    private Integer isManual;

    @ApiModelProperty(value = "转发显示的表单布局Id")
    private String layoutId;

    @ApiModelProperty(value = "自动转发的转发人员")
    private List<UserQueryVO> userList;

    @ApiModelProperty(value = "知会人员查询SQL，只能查询user_id字段")
    private String userSql;

}
